翻訳と辞書
Words near each other
・ Run-in period
・ Run-length encoding
・ Run-length limited
・ Run-of-the-river hydroelectricity
・ Run-off area
・ Run-off transcription
・ Run-off-road collision
・ Run-on
・ Run-on sentence
・ Run-out
・ Run-Time Abstraction Services
・ Run-time algorithm specialisation
・ Run-time checking
・ Run-time estimation of system and sub-system level power consumption
・ Run-time infrastructure (simulation)
Run-time type information
・ Run-up
・ Run-up (aviation)
・ Run-up (cricket)
・ Run2me
・ Run4Fun
・ Runa
・ Runa (band)
・ Runa (novel)
・ Runa ABC
・ Runa Akasaka
・ Runa Akiyama
・ Runa Basu
・ Runa Capital
・ Runa Islam


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Run-time type information : ウィキペディア英語版
Run-time type information
In computer programming, RTTI (Run-Time Type Information, or Run-Time Type Identification) refers to a C++ mechanism that exposes information about an object's data type at runtime. Run-time type information can apply to simple data types, such as integers and characters, or to generic types. This is a C++ specialization of a more general concept called type introspection. Similar mechanisms are also known in other programming languages, such as Delphi (Object Pascal).
In the original C++ design, Bjarne Stroustrup did not include run-time type information, because he thought this mechanism was frequently misused.
== Overview ==

The dynamic_cast<> operation and typeid operator in C++ are part of RTTI.
The C++ run-time type information permits performing safe typecasts and manipulate type information at run time.
RTTI is available only for classes which are polymorphic, which means they have at least one virtual method. In practice, this is not a limitation because base classes must have a virtual destructor to allow objects of derived classes to perform proper cleanup if they are deleted from a base pointer.
RTTI is optional with some compilers; the programmer can choose at compile time whether to include the function. There may be a resource cost to making RTTI available even if the program does not use it.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Run-time type information」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.